﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataAccess.NHibernateHelper
{
    public interface IRepository<T> where T : class
    {
        void Commit();
        void Rollback();

        void Insert(T item);
        void Update(T item);
        void Delete(T item);

        IList<T> List();
    }

}
